package com.yijia.cloudclient.RPC;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * TODO
 *
 * @author Hlong
 * @version V1.0
 * @data 2020-8-26
 */
@FeignClient(value = "cloud-manager")
public interface ManagerInterface {

    @GetMapping(value = "/cloud/add")
    public String getManager(@RequestParam("userId") String userId);
}
